Date: Mon, 11 Nov 1996 17:53:16 GMT
Server: NCSA/1.5
Content-type: text/html
Last-modified: Tue, 03 Sep 1996 23:04:19 GMT
Content-length: 2627

<!----------------------------------------------------------------------------
    CS302 Example Programs
    Copyright (c) 1996 Christopher E. Weaver
------------------------------------------------------------------------------
    File: examples.html
    Last modified: Tue Sep  3 18:04:19 1996 by Christopher Weaver
------------------------------------------------------------------------------
    Modification History:
----------------------------------------------------------------------------->

<HTML>

<!--------------------------------------------------------------------------->

<HEAD>
    <TITLE>CS302 Example Programs</TITLE>
</HEAD>

<BODY BGCOLOR="ffffff"
    TEXT="000000" LINK="0000a0" VLINK="a00000">

<!--------------------------------------------------------------------------->

<CENTER>
    <!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><IMG SRC="http://www.cs.wisc.edu/~weaver/rsrc/bars/wh_bar.gif">
</CENTER>

<CENTER>
<H2>CS302 Example Programs<BR>
    Sections 16 and 17</H2>
</CENTER>

<CENTER>
    <!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><IMG SRC="http://www.cs.wisc.edu/~weaver/rsrc/bars/wh_bar.gif">
</CENTER>

<!--------------------------------------------------------------------------->

<UL>
    <LI><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><A HREF="http://www.cs.wisc.edu/~weaver/cs302/examples/pat.cpp">PAT</A> - an example of style and functional
	programming
    <P>

    <LI><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><A HREF="http://www.cs.wisc.edu/~weaver/cs302/examples/class_date1/class_date.cpp">class date</A> - a simple class
	example
    <P>

    <LI><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><A HREF="http://www.cs.wisc.edu/~weaver/cs302/examples/grid/grid.cpp">The Grid Printer</A> - an example of mixed,
	nested loops
    <P>

    <LI><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><A HREF="http://www.cs.wisc.edu/~weaver/cs302/examples/chess">Text Chess Program (incomplete)</A> -
	multi-dimensional arrays
    <UL>
	<LI><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><A HREF="http://www.cs.wisc.edu/~weaver/cs302/examples/chess/chess.h">chess.h</A>
	<LI><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><A HREF="http://www.cs.wisc.edu/~weaver/cs302/examples/chess/chess.cpp">chess.cpp</A>
	<LI><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><A HREF="http://www.cs.wisc.edu/~weaver/cs302/examples/chess/board.cpp">board.cpp</A>
	<LI><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><A HREF="http://www.cs.wisc.edu/~weaver/cs302/examples/chess/moves.cpp">moves.cpp</A>
    </UL>
    <P>

    <LI><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><A HREF="http://www.cs.wisc.edu/~weaver/cs302/examples/class_date2">class Date</A> (new and improved) - a complete
	class
    <UL>
	<LI><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><A HREF="http://www.cs.wisc.edu/~weaver/cs302/examples/class_date2/date.h">date.h</A>
	<LI><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><A HREF="http://www.cs.wisc.edu/~weaver/cs302/examples/class_date2/date.cpp">date.cpp</A>
	<LI><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><A HREF="http://www.cs.wisc.edu/~weaver/cs302/examples/class_date2/main.cpp">main.cpp</A>
    </UL>
    <P>

    <LI>The multi-level <!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><A HREF="http://www.cs.wisc.edu/~weaver/cs302/examples/inherit/inherit.cpp">Animal class
	hierarchy</A>
</UL>

<P>

<!--------------------------------------------------------------------------->

<CENTER>
    <!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><IMG SRC="http://www.cs.wisc.edu/~weaver/rsrc/bars/wh_bar.gif">
</CENTER>

<CENTER>
    <ADDRESS>
	<BR>
	<!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><A HREF="http://www.cs.wisc.edu/~weaver/">Chris Weaver</A>,
	<!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><A HREF="http://www.cs.wisc.edu/">Computer Sciences Department</A>,
	<!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><A HREF="http://www.wisc.edu/">University of Wisconsin-Madison</A>
    </ADDRESS>

    <H5>Last Change: 9/3/96 by Chris Weaver</H5>
</CENTER>

<CENTER>
    <!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><IMG SRC="http://www.cs.wisc.edu/~weaver/rsrc/bars/wh_bar.gif">
</CENTER>

<!--------------------------------------------------------------------------->

</BODY>

</HTML>
